package com.sl.au.entity;

import javax.persistence.*;

@Entity
@Table(name = "sl_wcsi_e2r")
public class E2R extends Root {

	@OneToOne()
	@JoinColumn(name = "roleId")
	private Role role;
	@OneToOne
	@JoinColumn(name = "eventTypeId")
	private EventType eventType;
	
	
	public Role getRole() {
		return role;
	}
	public void setRole(Role role) {
		this.role = role;
	}
	public EventType getEventType() {
		return eventType;
	}
	public void setEventType(EventType eventType) {
		this.eventType = eventType;
	}
}
